Automattic\WooCommerce\Admin\Features\Onboarding D

Total Complexity 168
Dependencies 12
Dependents 13
Total lines 1,014
Lines of code 625
Logical lines of code 293
Comment lines 266
Methods 40
Properties 1

Methods 40

Method Rating Maintainability Complexity Lines of code
admin_redirects()
A
50 14 26
send_profile_data()
A
42 11 50
append_product_data()
A
47 11 32
add_help_tab()
A
44 10 43
maybe_mark_complete()
A
54 9 21
get_themes()
A
48 8 32
sort_woocommerce_themes()
A
56 8 18
should_show_profiler()
S
59 8 13
reset_task_list()
S
53 7 24
reset_extended_task_list()
S
53 7 24
component_settings()
S
51 5 25
redirect_wccom_install()
S
61 5 12
get_allowed_product_types()
S
48 3 36
reset_profiler()
S
50 3 30
trigger_profile_completed_action()
S
65 5 9
get_allowed_themes()
S
61 4 11
get_allowed_industries()
S
46 1 47
should_show_tasks()
S
68 4 6
on_profile_data_updated()
S
66 4 9
track_onboarding_toggle()
S
62 3 12
add_actions()
S
52 2 27
redirect_old_onboarding()
S
67 3 7
send_profile_data_on_connect()
S
68 3 7
send_profile_data_on_update()
S
70 3 6
is_running_from_async_action_scheduler()
S
69 3 6
is_wc_pages()
S
67 3 7
activate_and_install_jetpack_ahead_of_wcpay()
S
68 3 7
add_filters()
S
61 2 12
remove_install_notice()
S
71 2 6
get_instance()
S
71 2 6
is_loading()
S
70 2 7
add_uploaded_theme_data()
S
66 2 8
preload_settings()
S
77 1 4
delete_themes_transient()
S
80 1 3
has_woocommerce_support()
S
76 1 4
__construct()
S
73 1 6
add_preload_endpoints()
S
76 1 4
set_woocommerce_setup_jetpack_opted_in()
S
80 1 3
add_toggle_actions()
S
71 1 5
get_theme_data()
S
64 1 10